You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > SearchReplies
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.SearchReplies Method

Method to obtain an array of topic replies matching search criteria. Will return an instance of EkTasks, which is effectively an array of EkTask objects. If no results are returned, then a zero length EkTasks will be returned. 

This method can be accessed through the ThreadedDiscussion.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/ThreadedDiscussion.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "SearchReplies", Description = "")]
public EkTasks SearchReplies(long[] ForumIDs, string[] SearchTerms, EkEnumeration.SearchTypes stType);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "SearchReplies", Description = "")>
Public Function SearchReplies(ForumIDs As long[], SearchTerms As string[], stType As EkEnumeration.SearchTypes) As EkTasks
Parameters 
Description 
ForumIDs 
A numeric (Long) array of the Forum IDs you want to search. Use zero length array, or 0, to search all. 
SearchTerms 
String array of the search terms (case insensitive). 
stType 
EkEnumeration.SearchTypes enumeration value for the search type. 

An instance of type ekTasks (an array of Tasks).

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!